#include <string>
#include <iterator>
#include <iostream>
#include <algorithm>
#include <array>
#include "myAlgorithmImpl.hpp"
using namespace std;


int main(int argc , char* argv[])
{
	cout<<"Please input the number:"<<endl;
	int iRecv = 0;
	cin>>iRecv;


	switch(iRecv)
	{
		case 1:
			{
				cout<<"recv is:"<<iRecv<<endl;
				array<int ,10> a = {1,20,4,10,9,30,90,45,2,56};
				array<int ,10> aux = {0};
				cout<<"before merge ..."<<endl;
				int i = 100;
				fengxw::out(a);
				fengxw::merge(a , aux , 0 , 5,9);
				cout<<"after merge ..."<<endl;
				fengxw::out(a);
			}
			break;
		case 2:
			cout<<"recv is:"<<iRecv<<endl;
			break;
		default:
			cout<<"default recv is:"<<iRecv<<endl;
			break;
	}
	return 0;
}

